package com.springCloudStudy.dao;

import com.commons.interfaces.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface PaymentDao {

//写入
    public int create(Payment payment);
//    读取
    public Payment getPaymentById(@Param("id") Long id);
}
